package models

type IArea interface {
	FindByID(area_id int) (*Area, error)
	FindByParentID(page, rows int, parentID int) (*Pages, error)
	FindAllByParentID(parentID int) (*Pages, error)
}
type Area struct {
	ID       int
	Name     string
	ParentID int
}

func (a Area) FindByParentID(page, rows int, parentID int) (*Pages, error) {
	panic("implement me")
}

func (a Area) FindAllByParentID(parentID int) (*Pages, error) {
	panic("implement me")
}

func (a Area) FindByID(area_id int) (*Area, error) {
	panic("implement me")
}

func NewArea() IArea {
	return &Area{}
}
